﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="SMIL.Server.PictureLibraryExif, Version=1.0.0.0, Culture=neutral, PublicKeyToken=04f2cc173fa3cc5e" %> 

<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SMILPictureLibraryExifSettingsPage.aspx.cs" Inherits="SMIL.Server.PictureLibraryExif.Layouts.SMILPictureLibraryExifSettingsPage" DynamicMasterPageFile="~masterurl/default.master" %>

<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<asp:Content ID="Content1" contentplaceholderid="PlaceHolderPageTitle" runat="server">SMIL Picture Library Exif</asp:Content>
<asp:Content ID="Content2" contentplaceholderid="PlaceHolderPageTitleInTitleArea" runat="server">
SMIL Picture Library Exif:
<a id=onetidListHlink HREF=<% SPHttpUtility.AddQuote(SPHttpUtility.UrlPathEncode(List.DefaultViewUrl,true),Response.Output);%>><%SPHttpUtility.HtmlEncode(List.Title,Response.Output);%></a>
</asp:Content>
<asp:Content ID="Content3" contentplaceholderid="PlaceHolderPageDescription" runat="server"></asp:Content>
<asp:Content ID="Content4" contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server"></asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<table><tr><td class="ms-error"><asp:Label ID="LabelErrorMessage" Runat="server" EnableViewState="False" /></td></tr></table>
<TABLE border="0" width="100%" cellspacing="0" cellpadding="0" class="ms-descriptiontext">
<wssuc:InputFormSection runat="server" id="useExif" Title="Use Exif data">
	<Template_Description>
		<SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="" EncodeMethod='HtmlEncode'/>
		<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType1" runat="server" String="If the picture you are about to upload contains Exif information, it will be used for the creation date as well as GPS coordinates" />
	</Template_Description>
   <Template_InputFormControls>
		<wssuc:InputFormControl ID="InputFormControl1" runat="server">
			 <Template_Control>
				<asp:CheckBox ID="UseExifData" Runat="server" Text="Use Exif data" />
				<asp:Label><br/>The EXIF values will only show up in the dialog after the picture was uploaded, if loading the editform takes longer than the handler needs to update the values. It is saved in every case. Just not showing up sometimes.</asp:Label>
			 </Template_Control>
		</wssuc:InputFormControl>
    </Template_InputFormControls>
</wssuc:InputFormSection>
<wssuc:InputFormSection runat="server" id="updates" Title="Latest version">
	<Template_Description>
		<SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="" EncodeMethod='HtmlEncode'/>
		<SharePoint:FormattedStringWithListType ID="FormattedStringWithListType2" runat="server" String="'Latest Version' to check for updates is not implemented at this point." />
	</Template_Description>
   <Template_InputFormControls>
		<wssuc:InputFormControl ID="InputFormControl2" runat="server">
			 <Template_Control>
				<asp:Label ID="CurrentVersion" Runat="server" Text="" />
				<asp:Label ID="LatestVersion" Runat="server" Text="" />
			 </Template_Control>
		</wssuc:InputFormControl>
    </Template_InputFormControls>
</wssuc:InputFormSection>
<wssuc:ButtonSection ID="ButtonSection1" runat="server">
	<Template_Buttons>
	    <asp:Button ID="CheckLatestVersion" Runat="server" class="ms-ButtonHeightWidth" OnClick="CheckLatestVersion_Click" Text="Latest Version" />
		<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="BtnSave_Click" Text="<%$Resources:wss,multipages_savebutton_text%>" id="BtnSave" accesskey="<%$Resources:wss,multipages_savebutton_accesskey%>"/>
	</Template_Buttons>
</wssuc:ButtonSection>
</TABLE>
</asp:Content>
